package com.example.transactiondemo.service;

import com.example.transactiondemo.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Autowired
    private UserMapper userMapper;
    public int del(Integer id) {
        int num = userMapper.del(id);
        return num;
    }
}
